package com.xiaoman.xiaomanshu.auth.service;

import com.xiaoman.framework.commom.response.Response;
import com.xiaoman.xiaomanshu.auth.model.vo.user.UserLoginReqVO;

/**
 * @author JeanHu
 * @date 2025/10/27
 * @description
 */
public interface UserService {

    /**
     * 登录与注册
     * @param userLoginReqVO
     * @return
     */
    Response<String> loginAndRegister(UserLoginReqVO userLoginReqVO);

    /**
     * 退出登录
     * @return
     */
    Response<?> logout(Long userId);

}